import { combineReducers } from "redux";

import userReducer from "./user";
import commonReducer from "./common";
import interviewReducer from "./interview";

//// 把多个reducer合并成一个reducer
// 同时把每个模块中的state合并成一个state
const reducer = combineReducers({
  userinfo: userReducer,
  common: commonReducer,
  interview: interviewReducer,
});

export default reducer;
